package com.login.dao;

import java.util.List;

import com.login.bean.Buyer;

public interface IBuyerDao {
	// 用户登录
	public boolean BuyerLogin(String username,String password);
	
	//保存买家
	public int saveBuyer(Buyer user,String time);
	
	//删除用户
	public int deleteBuyer(String username);
	// 更新用户
	public int updateBuyer(String userpwd,String name);
	//用户列表
	public List<Buyer> findAll();
	
	
	//根据姓名查找
	public List<Buyer> findByUsername(String username);
	
	public int saveBuyerInformation(String address,String contactNumber,String realName,Buyer user);
	
	
}
